package com.gopay.common.domain.riskcontrol;

import com.gopay.common.domain.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;
import java.util.Date;

/***
 *
 * @author songfengli
 * 2016年07月28日 上午10:39:17  www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "RC_ARTIFI_AUDIT_ORDER")
public class RcArtifiAuditOrder extends BaseEntity {

    private static final long serialVersionUID = 4656593065188094885L;

    /**
     * 国付宝系统订单号
     */
    @Id
    @Column(name="GOPAY_ORDER_ID")
    private String gopayOrderId;

    /**
     * 触发规则编码
     */
    @Column(name="RULE_CODE")
    private String ruleCode;

    /**
     * 触发规则名称
     */
    @Column(name="RULE_NAME")
    private String ruleName;

    /**
     * 审批状态1–待确认 2–待审核 3-通过 4-拒绝
     */
    @Column(name="STATE")
    private Integer state;

    /**
     * 是否为本人交易  0-否  1 是
     */
    @Column(name="IS_SELF")
    private Integer isSelf;

    /**
     * 处理方案：1-银行卡入黑名单
     */
    @Column(name="DEAL_BANKSOLU")
    private Integer dealBanksolu;

    /**
     * 处理方案：1-付款客户锁定
     */
    @Column(name="DEAL_CUSTSOLU")
    private  Integer  dealCustsolu;

    /**
     * 确认操作员ID
     */
    @Column(name="CONFIRM_OPERID")
    private String confirmOperid;

    /**
     * 确认操作员姓名
     */
    @Column(name="CONFIRM_OPERNAME")
    private String confirmOpername;

    /**
     * 确认处理意见
     */
    @Column(name="CONFIRM_REASON")
    private String confirmReason;

    /**
     * 审核操作员ID
     */
    @Column(name="AUDIT_OPERID")
    private String auditOperid;

    /**
     * 审核操作员名称
     */
    @Column(name="AUDIT_OPENAME")
    private String auditOpename;

    /**
     * 创建时间
     */
    @Column(name="CREATED_TS")
    private Date createdTs;

    /**
     * 最后修改用户ID
     */
    @Column(name="LAST_UPD_OPER_ID")
    private String lastUpdOperId;

    /**
     * 最后修改时间
     */
    @Column(name="LAST_UPD_TS")
    private Date lastUpdTs;

    /**
     * 乐观锁版本号
     */
    @Version
    @Column(name="VERSION")
    private Integer VERSION;

    /**
     * 确认操作时间
     */
    @Column(name="CONFIRM_TS")
    private Date confirmTs;

    /**
     * 审核操作时间
     */
    @Column(name="AUDIT_TS")
    private Date auditTs;

    /**
     * 是否发送的失败短信（0-否 1-是）
     * @return
     */
    @Column(name="IS_FAILMESSAGE")
    private Integer isFailmessage = 0;

    /**
     * 审核处理意见
     */
    @Column(name="AUDIT_REASON")
    private String auditReason;

    public String getGopayOrderId() {
        return gopayOrderId;
    }

    public void setGopayOrderId(String gopayOrderId) {
        this.gopayOrderId = gopayOrderId;
    }

    public String getRuleCode() {
        return ruleCode;
    }

    public void setRuleCode(String ruleCode) {
        this.ruleCode = ruleCode;
    }

    public String getRuleName() {
        return ruleName;
    }

    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getIsSelf() {
        return isSelf;
    }

    public void setIsSelf(Integer isSelf) {
        this.isSelf = isSelf;
    }

    public Integer getDealBanksolu() {
        return dealBanksolu;
    }

    public void setDealBanksolu(Integer dealBanksolu) {
        this.dealBanksolu = dealBanksolu;
    }

    public Integer getDealCustsolu() {
        return dealCustsolu;
    }

    public void setDealCustsolu(Integer dealCustsolu) {
        this.dealCustsolu = dealCustsolu;
    }

    public String getConfirmOperid() {
        return confirmOperid;
    }

    public void setConfirmOperid(String confirmOperid) {
        this.confirmOperid = confirmOperid;
    }

    public String getConfirmOpername() {
        return confirmOpername;
    }

    public void setConfirmOpername(String confirmOpername) {
        this.confirmOpername = confirmOpername;
    }

    public String getConfirmReason() {
        return confirmReason;
    }

    public void setConfirmReason(String confirmReason) {
        this.confirmReason = confirmReason;
    }

    public String getAuditOperid() {
        return auditOperid;
    }

    public void setAuditOperid(String auditOperid) {
        this.auditOperid = auditOperid;
    }

    public String getAuditOpename() {
        return auditOpename;
    }

    public void setAuditOpename(String auditOpename) {
        this.auditOpename = auditOpename;
    }

    public Date getCreatedTs() {
        return createdTs;
    }

    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    public String getLastUpdOperId() {
        return lastUpdOperId;
    }

    public void setLastUpdOperId(String lastUpdOperId) {
        this.lastUpdOperId = lastUpdOperId;
    }

    public Date getLastUpdTs() {
        return lastUpdTs;
    }

    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    public Integer getVERSION() {
        return VERSION;
    }

    public void setVERSION(Integer VERSION) {
        this.VERSION = VERSION;
    }

    public Date getConfirmTs() {
        return confirmTs;
    }

    public void setConfirmTs(Date confirmTs) {
        this.confirmTs = confirmTs;
    }

    public Date getAuditTs() {
        return auditTs;
    }

    public void setAuditTs(Date auditTs) {
        this.auditTs = auditTs;
    }

    public Integer getIsFailmessage() { return isFailmessage;}

    public void setIsFailmessage(Integer isFailmessage) { this.isFailmessage = isFailmessage;}

    public String getAuditReason() {
        return auditReason;
    }

    public void setAuditReason(String auditReason) {
        this.auditReason = auditReason;
    }
}
